package com.zdx.yswl.ui.base;

import com.zdx.yswl.base.KException;
import com.zdx.yswl.tool.KRandomTool;

public class BaseException extends KException {

	
	public static final int AppExcetion = KRandomTool.getRandom4Int(5);
	public static final int JsonExcetion = KRandomTool.getRandom4Int(5);
	public static final int NetworkExcetion = KRandomTool.getRandom4Int(5);
	public static final int NoDataExcetion = KRandomTool.getRandom4Int(5);
	

	public BaseException(int baseExceptionType ,String errorMsg) {
		super(errorMsg);
		if (baseExceptionType == JsonExcetion) {
			
		}else if (baseExceptionType == NetworkExcetion) {
			
		}else if (baseExceptionType == NoDataExcetion) {
			
		}else if (baseExceptionType == AppExcetion) {
			
		}
	}

}
